package OT.shoufouni.mainGUI;

import OT.shoufouni.gpsMaps.Map;
import OT.shoufouni.gpsMaps.russionMapExample;
import android.app.TabActivity;
import android.content.Intent;
import android.os.Bundle;
import android.widget.TabHost;


public class mainGUI extends TabActivity {
	
	@Override
	public void onCreate(Bundle icicle) {
		super.onCreate(icicle);
    	
		TabHost tabs=getTabHost();
		TabHost.TabSpec spec;
		
		spec=tabs.newTabSpec("tag2");
		spec.setIndicator("Locate Myself");
		spec.setContent(new Intent(this, russionMapExample.class));
		tabs.addTab(spec);
		
		spec=tabs.newTabSpec("tag3");
		spec.setIndicator("Locate Friends");
		spec.setContent(new Intent(this, Map.class));
		tabs.addTab(spec);
		
		spec=tabs.newTabSpec("tag4");
		spec.setIndicator("My Friends");
		spec.setContent(new Intent(this, addFriendFrame.class));
		tabs.addTab(spec);
		
		spec=tabs.newTabSpec("tag5");
		spec.setIndicator("Options");
		spec.setContent(new Intent(this, options.class));
		tabs.addTab(spec);
		
	}
}